<template>
  <div class="container">
    <div style="font-size: 40px"><h1>EasyCTBA</h1></div>
    <div style="font-size: 23px">基于微服务的在线课堂教学行为分析平台</div>
    <div style="display: flex; margin-top: 30px">
      <el-button @click="toLogin" v-waves style="margin-right: 20px;font-size: 20px;color: #1971D2">开始使用</el-button>
      <el-button type="primary" v-waves style="background-color:transparent; margin-left: 20px;font-size: 22px">
        <a :href="this.gitee" target="_blank" style="text-decoration: none;color: white">
          查看文档
        </a>
      </el-button>
    </div>
  </div>
</template>

<script>
import Waves from "@/directives/waves/waves";

export default {
  name: "indexIndex",

  directives: { Waves },
  data(){
    return{
      gitee:'https://gitee.com/akchaohuiwan/learning-platform'
    }
  },
  methods:{
    toLogin(){
      this.$router.push('/login')
    },
  }
}
</script>

<style scoped>
.container{
  justify-content: center;
  align-items: center;
  color: white;
  display: flex;
  flex-direction: column;
  margin: 180px auto auto;
}
</style>
